#if !defined(REAL_H_)
#define REAL_H_

#include <cstdint>

namespace uniq {

    namespace integral_types {
        using i8 = int8_t;
        using i16 = int16_t;
        using i32 = int32_t;
        using i64 = int64_t;

        using u8 = uint8_t;
        using u16 = uint16_t;
        using u32 = uint32_t;
        using u64 = uint64_t;
    } // namespace integral_types

#if !defined(USE_32BIT_FIXPOINT)
#define USE_32BIT_FIXPOINT
    using real = int64_t;
#else
    using real = int32_t;
#endif // USE_32BIT_FIXPOINT
} // namespace uniq

#endif // REAL_H_
